# Maintainer: Michael Zuo <muh.muhten@gmail.com>
pkgname=minisign
pkgver=0.9
pkgrel=0
pkgdesc="A dead simple tool to sign files and verify signatures."
url="https://jedisct1.github.io/minisign"
arch="all"
license="ISC"
options="!check"
makedepends="cmake libsodium-dev"
subpackages="$pkgname-doc"
source="minisign-$pkgver.tar.gz::https://github.com/jedisct1/minisign/archive/$pkgver.tar.gz"

build() {
	cmake -DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="7970f3e72ff759f3f02416de5d6035e1c8dd4e92ea718083cc5091c7e2355b59c4e178c60ca934985ba1e1afcd970967d4fb39a434ba54b140f3fc9be661253d  minisign-0.9.tar.gz"
